auto v;

print("type a character: ");
scan("%c", &v);
print("read value is: %c\n", v);

print("type an integer: ");
scan("%d", &v);
print("read value is: %d\n", v);

print("type a float: ");
scan("%f", &v);
print("read value is: %f\n", v);

print("type a string: ");
scan("%s", &v);
print("read value is: %s\n", v);
